<template>
  <div style="background-color: #fff">
    <table style="width: 100%" border="1" cellspacing="1">
      <tbody>
        <tr>
          <td colspan="1" rowspan="2">类别</td>
          <td colspan="1" rowspan="2">统计项目</td>
          <td colspan="4">级次</td>
          <td colspan="1" rowspan="2">数量累计</td>
          <td colspan="1" rowspan="2">教练员数量</td>
          <td colspan="1" rowspan="2">指导教师数量</td>
          <td colspan="2" rowspan="2">校代表队/在训青少年(数量)</td>
          <td colspan="2">年组织活动</td>
        </tr>
        <tr>
          <td colspan="1">国家级</td>
          <td colspan="1">省级</td>
          <td colspan="1">地市级</td>
          <td colspan="1">县级</td>
          <td colspan="1">总次数</td>
          <td colspan="1">总人数</td>
        </tr>
        <tr>
          <td colspan="1" rowspan="4">体育组织情况</td>
          <td colspan="1">体育传统项目学校</td>
          <td colspan="1" class="remake">
            <input type="text" v-model="dataform.fSheet1aList[0].levelNation" />
          </td>
          <td colspan="1">
            <input
              type="text"
              v-model="dataform.fSheet1aList[0].levelProvince"
            />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[0].levelCity" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[0].levelCounty" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[0].levelTotal" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[0].coachNum" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[0].teacherNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1aList[0].playerNum" />
          </td>
          <td colspan="1">
            <input
              type="text"
              v-model="dataform.fSheet1aList[0].yearActivityNum"
            />
          </td>
          <td colspan="1">
            <input
              type="text"
              v-model="dataform.fSheet1aList[0].yearPeopleNum"
            />
          </td>
        </tr>
        <tr>
          <td colspan="1">青少年体育俱乐部</td>
          <td colspan="1" class="remake">
            <input type="text" v-model="dataform.fSheet1aList[1].levelNation" />
          </td>
          <td colspan="1">
            <input
              type="text"
              v-model="dataform.fSheet1aList[1].levelProvince"
            />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[1].levelCity" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[1].levelCounty" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[1].levelTotal" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[1].coachNum" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[1].teacherNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1aList[1].playerNum" />
          </td>
          <td colspan="1">
            <input
              type="text"
              v-model="dataform.fSheet1aList[1].yearActivityNum"
            />
          </td>
          <td colspan="1">
            <input
              type="text"
              v-model="dataform.fSheet1aList[1].yearPeopleNum"
            />
          </td>
        </tr>
        <tr>
          <td colspan="1">青少年户外体育活动营地</td>
          <td colspan="1" class="remake">
            <input type="text" v-model="dataform.fSheet1aList[2].levelNation" />
          </td>
          <td colspan="1">
            <input
              type="text"
              v-model="dataform.fSheet1aList[2].levelProvince"
            />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[2].levelCity" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[2].levelCounty" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[2].levelTotal" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[2].coachNum" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[2].teacherNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1aList[2].playerNum" />
          </td>
          <td colspan="1">
            <input
              type="text"
              v-model="dataform.fSheet1aList[2].yearActivityNum"
            />
          </td>
          <td colspan="1">
            <input
              type="text"
              v-model="dataform.fSheet1aList[2].yearPeopleNum"
            />
          </td>
        </tr>
        <tr>
          <td colspan="1">青少年校外体育活动中心</td>
          <td colspan="1" class="remake">
            <input type="text" v-model="dataform.fSheet1aList[3].levelNation" />
          </td>
          <td colspan="1">
            <input
              type="text"
              v-model="dataform.fSheet1aList[3].levelProvince"
            />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[3].levelCity" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[3].levelCounty" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[3].levelTotal" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[3].coachNum" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.fSheet1aList[3].teacherNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1aList[3].playerNum" />
          </td>
          <td colspan="1">
            <input
              type="text"
              v-model="dataform.fSheet1aList[3].yearActivityNum"
            />
          </td>
          <td colspan="1">
            <input
              type="text"
              v-model="dataform.fSheet1aList[3].yearPeopleNum"
            />
          </td>
        </tr>
        <tr>
          <td colspan="1" rowspan="26">业余训练情况</td>
          <td colspan="1">/</td>
          <td colspan="2">办学模式</td>
          <td colspan="2">体校数量</td>
          <td colspan="2">在训运动员数量</td>
          <td colspan="2">教练员数量</td>
          <td colspan="3">文化教师数量</td>
        </tr>
        <tr>
          <td colspan="1" rowspan="3">体育运动学校</td>
          <td colspan="2">一集中</td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[0].schoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[0].playerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[0].coachNum" />
          </td>
          <td colspan="3">
            <input type="text" v-model="dataform.fSheet1bList[0].teacherNum" />
          </td>
        </tr>
        <tr>
          <td colspan="2">二集中</td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[1].schoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[1].playerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[1].coachNum" />
          </td>
          <td colspan="3">
            <input type="text" v-model="dataform.fSheet1bList[1].teacherNum" />
          </td>
        </tr>
        <tr>
          <td colspan="2">三集中</td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[2].schoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[2].playerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[2].coachNum" />
          </td>
          <td colspan="3">
            <input type="text" v-model="dataform.fSheet1bList[2].teacherNum" />
          </td>
        </tr>
        <tr>
          <td colspan="1" rowspan="3">竞技体校</td>
          <td colspan="2">一集中</td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[3].schoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[3].playerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[3].coachNum" />
          </td>
          <td colspan="3">
            <input type="text" v-model="dataform.fSheet1bList[3].teacherNum" />
          </td>
        </tr>
        <tr>
          <td colspan="2">二集中</td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[4].schoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[4].playerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[4].coachNum" />
          </td>
          <td colspan="3">
            <input type="text" v-model="dataform.fSheet1bList[4].teacherNum" />
          </td>
        </tr>
        <tr>
          <td colspan="2">三集中</td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[5].schoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[5].playerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[5].coachNum" />
          </td>
          <td colspan="3">
            <input type="text" v-model="dataform.fSheet1bList[5].teacherNum" />
          </td>
        </tr>
        <tr>
          <td colspan="1" rowspan="3">少儿体校</td>
          <td colspan="2">一集中</td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[6].schoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[6].playerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[6].coachNum" />
          </td>
          <td colspan="3">
            <input type="text" v-model="dataform.fSheet1bList[6].teacherNum" />
          </td>
        </tr>
        <tr>
          <td colspan="2">二集中</td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[7].schoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[7].playerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[7].coachNum" />
          </td>
          <td colspan="3">
            <input type="text" v-model="dataform.fSheet1bList[7].teacherNum" />
          </td>
        </tr>
        <tr>
          <td colspan="2">三集中</td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[8].schoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[8].playerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[8].coachNum" />
          </td>
          <td colspan="3">
            <input type="text" v-model="dataform.fSheet1bList[8].teacherNum" />
          </td>
        </tr>
        <tr>
          <td colspan="1" rowspan="3">单项体校</td>
          <td colspan="2">一集中</td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[9].schoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[9].playerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[9].coachNum" />
          </td>
          <td colspan="3">
            <input type="text" v-model="dataform.fSheet1bList[9].teacherNum" />
          </td>
        </tr>
        <tr>
          <td colspan="2">二集中</td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[10].schoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[10].playerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[10].coachNum" />
          </td>
          <td colspan="3">
            <input type="text" v-model="dataform.fSheet1bList[10].teacherNum" />
          </td>
        </tr>
        <tr>
          <td colspan="2">三集中</td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[11].schoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[11].playerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[11].coachNum" />
          </td>
          <td colspan="3">
            <input type="text" v-model="dataform.fSheet1bList[11].teacherNum" />
          </td>
        </tr>
        <tr>
          <td colspan="1" rowspan="3">体育中学</td>
          <td colspan="2">一集中</td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[12].schoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[12].playerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[12].coachNum" />
          </td>
          <td colspan="3">
            <input type="text" v-model="dataform.fSheet1bList[12].teacherNum" />
          </td>
        </tr>
        <tr>
          <td colspan="2">二集中</td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[13].schoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[13].playerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[13].coachNum" />
          </td>
          <td colspan="3">
            <input type="text" v-model="dataform.fSheet1bList[13].teacherNum" />
          </td>
        </tr>
        <tr>
          <td colspan="2">三集中</td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[14].schoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[14].playerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.fSheet1bList[14].coachNum" />
          </td>
          <td colspan="3">
            <input type="text" v-model="dataform.fSheet1bList[14].teacherNum" />
          </td>
        </tr>
        <tr>
          <td colspan="3">合计</td>
          <td colspan="2">
            <input type="text" v-model="dataform.totalSchoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.totalPlayerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.totalCoachNum" />
          </td>
          <td colspan="3">
            <input type="text" v-model="dataform.totalTeacherNum" />
          </td>
        </tr>
        <tr>
          <td colspan="1" rowspan="4">国家高水平后备人才基地</td>
          <td colspan="1" rowspan="2">总局青少司授予</td>
          <td colspan="1">三集中</td>
          <td colspan="2">
            <input type="text" v-model="dataform.teenagerThreeFocusSchoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.teenagerThreeFocusPlayerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.teenagerThreeFocusCoachNum" />
          </td>
          <td colspan="3">
            <input
              type="text"
              v-model="dataform.teenagerThreeFocusTeacherNum"
            />
          </td>
        </tr>
        <tr>
          <td colspan="1">非“三集中”</td>
          <td colspan="2">
            <input
              type="text"
              v-model="dataform.teenagerNoThreeFocusSchoolNum"
            />
          </td>
          <td colspan="2">
            <input
              type="text"
              v-model="dataform.teenagerNoThreeFocusPlayerNum"
            />
          </td>
          <td colspan="2">
            <input
              type="text"
              v-model="dataform.teenagerNoThreeFocusCoachNum"
            />
          </td>
          <td colspan="3">
            <input
              type="text"
              v-model="dataform.teenagerNoThreeFocusTeacherNum"
            />
          </td>
        </tr>
        <tr>
          <td colspan="1" rowspan="2">总局项目中心授予</td>
          <td colspan="1">三集中</td>
          <td colspan="2">
            <input type="text" v-model="dataform.centreThreeFocusSchoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.centreThreeFocusPlayerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.centreThreeFocusCoachNum" />
          </td>
          <td colspan="3">
            <input type="text" v-model="dataform.centreThreeFocusTeacherNum" />
          </td>
        </tr>
        <tr>
          <td colspan="1">非“三集中”</td>
          <td colspan="2">
            <input type="text" v-model="dataform.centreNoThreeFocusSchoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.centreNoThreeFocusPlayerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.centreNoThreeFocusCoachNum" />
          </td>
          <td colspan="3">
            <input
              type="text"
              v-model="dataform.centreNoThreeFocusTeacherNum"
            />
          </td>
        </tr>
        <tr>
          <td colspan="3">社会力量办体校</td>
          <td colspan="2">
            <input type="text" v-model="dataform.societySchoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.societyPlayerNum" />
          </td>
          <td colspan="5">不填</td>
        </tr>
        <tr>
          <td colspan="3">社会力量办俱乐部</td>
          <td colspan="2">
            <input type="text" v-model="dataform.societyClubNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.societyClubPlayerNum" />
          </td>
          <td colspan="5">不填</td>
        </tr>
        <tr>
          <td colspan="1" rowspan="3">运动员文化教育</td>
          <td colspan="3">体育部门办</td>
          <td colspan="4">教育部门办</td>
          <td colspan="4">体教合办</td>
        </tr>
        <tr>
          <td colspan="1">体校数</td>
          <td colspan="2">运动员数</td>
          <td colspan="2">体校数</td>
          <td colspan="2">运动员数</td>
          <td colspan="2">体校数</td>
          <td colspan="2">运动员数</td>
        </tr>
        <tr>
          <td colspan="1">
            <input type="text" v-model="dataform.sportDeptSchoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.sportDeptPlayerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.teachDeptSchoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.teachDeptPlayerNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.sportAndTeachDeptSchoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.sportAndTeachDeptPlayerNum" />
          </td>
        </tr>
        <tr>
          <td colspan="1" rowspan="4">学校体育场馆开放</td>
          <td colspan="3" rowspan="3">全省(直辖市、区)中小学校总数</td>
          <td colspan="2" rowspan="3">已开放学校数量累计</td>
          <td colspan="2" rowspan="3">经费投入累计(万元)</td>
          <td colspan="5">投放险种(请在相应的选项后划“√”)</td>
        </tr>
        <tr>
          <td colspan="2">投放范围</td>
          <td colspan="3">险种名称</td>
        </tr>
        <tr>
          <td colspan="1">部分地市</td>
          <td colspan="1">全部地市</td>
          <td colspan="1">公共责任险</td>
          <td colspan="1">人身意外伤害险</td>
          <td colspan="1">其他险种</td>
        </tr>
        <tr>
          <td colspan="3">
            <input type="text" v-model="dataform.allSchoolNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.openSchoolNum" />
          </td>
          <td colspan="2"><input type="text" v-model="dataform.putMoney" /></td>
          <td colspan="1">
            <input type="text" v-model="InsuranceTypeDelivery.PartCity" />
          </td>
          <td colspan="1">
            <input type="text" v-model="InsuranceTypeDelivery.allCity" />
          </td>
          <td colspan="1">
            <input type="text" v-model="InsuranceType.PublicResponsibility" />
          </td>
          <td colspan="1">
            <input type="text" v-model="InsuranceType.accidentally" />
          </td>
          <td colspan="1">
            <input type="text" v-model="InsuranceType.other" />
          </td>
        </tr>
        <tr>
          <td colspan="1" rowspan="3">校园足球</td>
          <td colspan="2">布局城市(个)</td>
          <td colspan="2">定点学校(所)</td>
          <td colspan="3">经费投入(万元)</td>
          <td colspan="4">四级联赛场次(场)</td>
          <td colspan="1" rowspan="2">参加总人数</td>
        </tr>
        <tr>
          <td colspan="1">国家级</td>
          <td colspan="1">省级</td>
          <td colspan="1">国家级</td>
          <td colspan="1">省级</td>
          <td colspan="1">国家投入</td>
          <td colspan="1">省级投入</td>
          <td colspan="1">其他</td>
          <td colspan="1">全国</td>
          <td colspan="1">省级</td>
          <td colspan="1">市级</td>
          <td colspan="1">校级级</td>
        </tr>
        <tr>
          <td colspan="1">
            <input type="text" v-model="dataform.cityLevelNationNum" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.cityLevelProvinceNum" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.schoolLevelNationNum" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.schoolLevelProvinceNum" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.moneyPutNation" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.moneyPutProvince" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.moneyPutOther" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.matchNationNum" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.matchProvinceNum" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.matchCityNum" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.matchSchoolNum" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.totalJoinPeopleNum" />
          </td>
        </tr>
        <tr>
          <td colspan="1" rowspan="4">青少年体育经费</td>
          <td colspan="6">投入(万元)</td>
          <td colspan="6">支出(万元)</td>
        </tr>
        <tr>
          <td colspan="2" rowspan="2">省财政经费(不包含省体彩公益金)</td>
          <td colspan="4">省体彩公益金投入</td>
          <td colspan="1" rowspan="2">业余训练</td>
          <td colspan="1" rowspan="2">青少年组织建设</td>
          <td colspan="1" rowspan="2">竞赛与活动组织</td>
          <td colspan="1" rowspan="2">学校场馆开放</td>
          <td colspan="2" rowspan="2">其他</td>
        </tr>
        <tr>
          <td colspan="2">年度投入金额</td>
          <td colspan="2">占本省总体彩公益金投入占比(%)</td>
        </tr>
        <tr>
          <td colspan="2">
            <input type="text" v-model="dataform.financialPutMoney" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.sportsLotteryPutMoney" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.sportsLotteryRatio" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.outSparetimeMoney" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.outTeenagerMoney" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.outCompetitionMoney" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.outSchoolVenueMoney" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.outOtherMoney" />
          </td>
        </tr>
        <tr>
          <td colspan="1" rowspan="4">青少年体育竞赛与活动情况</td>
          <td colspan="1" rowspan="2">/</td>
          <td colspan="4">参加全国性竞赛与活动</td>
          <td colspan="4">主办省级比赛与活动</td>
          <td colspan="3">主办地市级举办与活动</td>
        </tr>
        <tr>
          <td colspan="2">体育总局主办</td>
          <td colspan="2">体育总局、教育部合办</td>
          <td colspan="2">省级体育部门主办</td>
          <td colspan="2">省级体育、教育部门合办</td>
          <td colspan="2">地市级体育部们主办</td>
          <td colspan="1">地市级体育、教育部门合办</td>
        </tr>
        <tr>
          <td colspan="1">活动次数</td>
          <td colspan="2">
            <input type="text" v-model="dataform.activityNationNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.activityNationAndNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.activityProvinceNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.activityProvinceAndNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.activityCityNum" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.activityCityAndNum" />
          </td>
        </tr>
        <tr>
          <td colspan="1">参与人数</td>
          <td colspan="2">
            <input type="text" v-model="dataform.activityNationPeopleNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.activityNationAndPeopleNum" />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.activityProvincePeopleNum" />
          </td>
          <td colspan="2">
            <input
              type="text"
              v-model="dataform.activityProvinceAndPeopleNum"
            />
          </td>
          <td colspan="2">
            <input type="text" v-model="dataform.activityCityPeopleNum" />
          </td>
          <td colspan="1">
            <input type="text" v-model="dataform.activityCityAndPeopleNum" />
          </td>
        </tr>
      </tbody>
    </table>
    <div style="display: flex; justify-content: space-between;">
      <div>填表人：<input type="text" v-model="dataform.writePeople" /></div>
      <div>联系电话：<input type="text" v-model="dataform.writePhone" /></div>
    </div>
    <div style="display: flex; justify-content: space-between;">
      <div>填报时间：<input type="text" v-model="dataform.writeTime" /></div>
      <div>
        填报单位：<input type="text" v-model="dataform.bureauOrgName" />
      </div>
    </div>
    <div style="margin-top: 40px;" v-if="show">
      <el-button @click="submit()"> 填报</el-button>
    </div>
  </div>
</template>

<script>
import qs from "qs";
import { insert_update } from "@/api/statistics.js";

export default {
  props: {
    Alldata: {
      type: Object,
      default: {}
    }
  },
  data() {
    return {
      dataform: {
        show: true,
        //statisticsSportTypeId：{
        //1:体育传统项目学校,
        //2:青少年体育俱乐部,
        //3:青少年活动营地,
        //4:青少年活动中心
        // }
        //schoolTypeId：{
        //1:体育运动学校,
        //2:竞技体校,
        //3:少儿体校,
        //4:单项体校
        //4:体育中学
        // }

        level: "", //区分省市级名字（数字）
        //合计
        totalSchoolNum: "", //体校数量合计
        totalPlayerNum: "", //在训运动员数量合计
        totalCoachNum: "", //教练员数量合计
        totalTeacherNum: "", //文化教师数量合计
        writePeople: "", //填表人
        writeTime: "", //填报时间
        writePhone: "", //联系电话
        bureauOrgName: "", //填报单位，省或市体育局机构名

        //体育组织情况
        fSheet1aList: [
          {
            statisticsSportTypeId: "1",
            levelNation: "",
            levelProvince: "",
            levelCity: "",
            levelCounty: "",
            levelTotal: "",
            coachNum: "",
            teacherNum: "",
            playerNum: "",
            yearActivityNum: "",
            yearPeopleNum: ""
          },
          {
            statisticsSportTypeId: "2",
            levelNation: "",
            levelProvince: "",
            levelCity: "",
            levelCounty: "",
            levelTotal: "",
            coachNum: "",
            teacherNum: "",
            playerNum: "",
            yearActivityNum: "",
            yearPeopleNum: ""
          },
          {
            statisticsSportTypeId: "3",
            levelNation: "",
            levelProvince: "",
            levelCity: "",
            levelCounty: "",
            levelTotal: "",
            coachNum: "",
            teacherNum: "",
            playerNum: "",
            yearActivityNum: "",
            yearPeopleNum: ""
          },
          {
            statisticsSportTypeId: "4",
            levelNation: "",
            levelProvince: "",
            levelCity: "",
            levelCounty: "",
            levelTotal: "",
            coachNum: "",
            teacherNum: "",
            playerNum: "",
            yearActivityNum: "",
            yearPeopleNum: ""
          }
        ],
        //业余训练情况

        fSheet1bList: [
          //体育运动学校
          {
            schoolTypeId: "1", //学校类型
            focusType: "1", //集中类型
            schoolNum: "",
            playerNum: "",
            coachNum: "",
            teacherNum: ""
          },
          {
            schoolTypeId: "1",
            focusType: "2",
            schoolNum: "",
            playerNum: "",
            coachNum: "",
            teacherNum: ""
          },
          {
            schoolTypeId: "1",
            focusType: "3",
            schoolNum: "",
            playerNum: "",
            coachNum: "",
            teacherNum: ""
          },
          //竞技体校
          {
            schoolTypeId: "2", //学校类型
            focusType: "1", //集中类型
            schoolNum: "",
            playerNum: "",
            coachNum: "",
            teacherNum: ""
          },
          {
            schoolTypeId: "2",
            focusType: "2",
            schoolNum: "",
            playerNum: "",
            coachNum: "",
            teacherNum: ""
          },
          {
            schoolTypeId: "2",
            focusType: "3",
            schoolNum: "",
            playerNum: "",
            coachNum: "",
            teacherNum: ""
          },
          //少儿体校
          {
            schoolTypeId: "3", //学校类型
            focusType: "1", //集中类型
            schoolNum: "",
            playerNum: "",
            coachNum: "",
            teacherNum: ""
          },
          {
            schoolTypeId: "3",
            focusType: "2",
            schoolNum: "",
            playerNum: "",
            coachNum: "",
            teacherNum: ""
          },
          {
            schoolTypeId: "3",
            focusType: "3",
            schoolNum: "",
            playerNum: "",
            coachNum: "",
            teacherNum: ""
          },
          //单项体校
          {
            schoolTypeId: "4", //学校类型
            focusType: "1", //集中类型
            schoolNum: "",
            playerNum: "",
            coachNum: "",
            teacherNum: ""
          },
          {
            schoolTypeId: "4",
            focusType: "2",
            schoolNum: "",
            playerNum: "",
            coachNum: "",
            teacherNum: ""
          },
          {
            schoolTypeId: "4",
            focusType: "3",
            schoolNum: "",
            playerNum: "",
            coachNum: "",
            teacherNum: ""
          },
          //体育中学
          {
            schoolTypeId: "5", //学校类型
            focusType: "1", //集中类型
            schoolNum: "",
            playerNum: "",
            coachNum: "",
            teacherNum: ""
          },
          {
            schoolTypeId: "5",
            focusType: "2",
            schoolNum: "",
            playerNum: "",
            coachNum: "",
            teacherNum: ""
          },
          {
            schoolTypeId: "5",
            focusType: "3",
            schoolNum: "",
            playerNum: "",
            coachNum: "",
            teacherNum: ""
          }
        ],

        teenagerThreeFocusSchoolNum: "",
        teenagerNoThreeFocusSchoolNum: "",
        teenagerThreeFocusPlayerNum: "",
        teenagerNoThreeFocusPlayerNum: "",
        teenagerThreeFocusCoachNum: "",
        teenagerNoThreeFocusCoachNum: "",
        teenagerThreeFocusTeacherNum: "",
        teenagerNoThreeFocusTeacherNum: "",
        centreThreeFocusSchoolNum: "",
        centreNoThreeFocusSchoolNum: "",
        centreThreeFocusPlayerNum: "",
        centreNoThreeFocusPlayerNum: "",
        centreThreeFocusCoachNum: "",
        centreNoThreeFocusCoachNum: "",
        centreThreeFocusTeacherNum: "",
        centreNoThreeFocusTeacherNum: "",
        societySchoolNum: "",
        societyClubNum: "",
        societyPlayerNum: "",
        societyClubPlayerNum: "",
        sportDeptSchoolNum: "",
        sportDeptPlayerNum: "",
        teachDeptSchoolNum: "",
        teachDeptPlayerNum: "",
        sportAndTeachDeptSchoolNum: "",
        sportAndTeachDeptPlayerNum: "",
        allSchoolNum: "",
        openSchoolNum: "",
        putMoney: "",
        putScope: "", //t投放范围1,2
        insuranceType: "", //险种名称1,2,3
        cityLevelNationNum: "",
        cityLevelProvinceNum: "",
        schoolLevelNationNum: "",
        schoolLevelProvinceNum: "",
        moneyPutNation: "",
        moneyPutProvince: "",
        moneyPutOther: "",
        matchNationNum: "",
        matchProvinceNum: "",
        matchCityNum: "",
        matchSchoolNum: "",
        totalJoinPeopleNum: "",
        financialPutMoney: "",
        sportsLotteryPutMoney: "",
        sportsLotteryRatio: "",
        outSparetimeMoney: "",
        outTeenagerMoney: "",
        outCompetitionMoney: "",
        outSchoolVenueMoney: "",
        outOtherMoney: "",
        activityNationNum: "",
        activityNationPeopleNum: "",
        activityNationAndNum: "",
        activityNationAndPeopleNum: "",
        activityProvinceNum: "",
        activityProvincePeopleNum: "",
        activityProvinceAndNum: "",
        activityProvinceAndPeopleNum: "",
        activityCityNum: "",
        activityCityPeopleNum: "",
        activityCityAndNum: "",
        activityCityAndPeopleNum: ""
      },
      //投放范围
      InsuranceTypeDelivery: {
        PartCity: "", //部分
        allCity: "" //全部
      },
      //险种名称
      InsuranceType: {
        PublicResponsibility: "", //公共责任
        accidentally: "", //人身意外
        other: "" //其他
      }
    };
  },

  //更新数据
  watch: {
    Alldata(newValue, oldValue) {
      this.dataform = newValue;
      if (this.dataform.putScope == "1") {
        this.InsuranceTypeDelivery.PartCity = "√";
      }

      if (this.dataform.putScope == "2") {
        this.InsuranceTypeDelivery.PartCity = "√";
      }
      if (this.dataform.insuranceType == "1") {
        this.InsuranceType.PublicResponsibility = "√";
      }
      if (this.dataform.insuranceType == "2") {
        this.InsuranceType.PublicResponsibility = "√";
      }
      if (this.dataform.insuranceType == "3") {
        this.InsuranceType.PublicResponsibility = "√";
      }
    },
    dataform(newValue, oldValue) {
      this.dataform = newValue;
    },
    InsuranceTypeDelivery(newValue, oldValue) {
      this.InsuranceTypeDelivery = newValue;
    },
    InsuranceType(newValue, oldValue) {
      this.InsuranceType = newValue;
    }
  },

  methods: {
    DataProcessing() {
      this.show = false;
    },

    submit() {
      if (this.InsuranceTypeDelivery.PartCity) {
        this.dataform.putScope = 1;
      } else {
        this.dataform.putScope = 2;
      }
      if (this.InsuranceType.PublicResponsibility) {
        this.dataform.insuranceType = 1;
      }
      if (this.InsuranceType.accidentally) {
        this.dataform.insuranceType = 2;
      }
      if (this.InsuranceType.other) {
        this.dataform.insuranceType = 3;
      }
      // console.log(qs.stringify(this.dataform));
      insert_update(this.dataform).then(res => {
        this.$message.success("填报成功");
      });
    },

    delete() {
      this.show = true;
      (this.InsuranceTypeDelivery = {
        PartCity: "", //部分
        allCity: "" //全部
      }),
        //险种名称
        (this.InsuranceType = {
          PublicResponsibility: "", //公共责任
          accidentally: "", //人身意外
          other: "" //其他
        }),
        (this.dataform = {
          //statisticsSportTypeId：{
          //1:体育传统项目学校,
          //2:青少年体育俱乐部,
          //3:青少年活动营地,
          //4:青少年活动中心
          // }
          //schoolTypeId：{
          //1:体育运动学校,
          //2:竞技体校,
          //3:少儿体校,
          //4:单项体校
          //4:体育中学
          // }

          level: "", //区分省市级名字（数字）
          //合计
          totalSchoolNum: "", //体校数量合计
          totalPlayerNum: "", //在训运动员数量合计
          totalCoachNum: "", //教练员数量合计
          totalTeacherNum: "", //文化教师数量合计
          writePeople: "", //填表人
          writeTime: "", //填报时间
          writePhone: "", //联系电话
          bureauOrgName: "", //填报单位，省或市体育局机构名

          //体育组织情况
          fSheet1aList: [
            {
              statisticsSportTypeId: "1",
              levelNation: "",
              levelProvince: "",
              levelCity: "",
              levelCounty: "",
              levelTotal: "",
              coachNum: "",
              teacherNum: "",
              playerNum: "",
              yearActivityNum: "",
              yearPeopleNum: ""
            },
            {
              statisticsSportTypeId: "2",
              levelNation: "",
              levelProvince: "",
              levelCity: "",
              levelCounty: "",
              levelTotal: "",
              coachNum: "",
              teacherNum: "",
              playerNum: "",
              yearActivityNum: "",
              yearPeopleNum: ""
            },
            {
              statisticsSportTypeId: "3",
              levelNation: "",
              levelProvince: "",
              levelCity: "",
              levelCounty: "",
              levelTotal: "",
              coachNum: "",
              teacherNum: "",
              playerNum: "",
              yearActivityNum: "",
              yearPeopleNum: ""
            },
            {
              statisticsSportTypeId: "4",
              levelNation: "",
              levelProvince: "",
              levelCity: "",
              levelCounty: "",
              levelTotal: "",
              coachNum: "",
              teacherNum: "",
              playerNum: "",
              yearActivityNum: "",
              yearPeopleNum: ""
            }
          ],
          //业余训练情况

          fSheet1bList: [
            //体育运动学校
            {
              schoolTypeId: "1", //学校类型
              focusType: "1", //集中类型
              schoolNum: "",
              playerNum: "",
              coachNum: "",
              teacherNum: ""
            },
            {
              schoolTypeId: "1",
              focusType: "2",
              schoolNum: "",
              playerNum: "",
              coachNum: "",
              teacherNum: ""
            },
            {
              schoolTypeId: "1",
              focusType: "3",
              schoolNum: "",
              playerNum: "",
              coachNum: "",
              teacherNum: ""
            },
            //竞技体校
            {
              schoolTypeId: "2", //学校类型
              focusType: "1", //集中类型
              schoolNum: "",
              playerNum: "",
              coachNum: "",
              teacherNum: ""
            },
            {
              schoolTypeId: "2",
              focusType: "2",
              schoolNum: "",
              playerNum: "",
              coachNum: "",
              teacherNum: ""
            },
            {
              schoolTypeId: "2",
              focusType: "3",
              schoolNum: "",
              playerNum: "",
              coachNum: "",
              teacherNum: ""
            },
            //少儿体校
            {
              schoolTypeId: "3", //学校类型
              focusType: "1", //集中类型
              schoolNum: "",
              playerNum: "",
              coachNum: "",
              teacherNum: ""
            },
            {
              schoolTypeId: "3",
              focusType: "2",
              schoolNum: "",
              playerNum: "",
              coachNum: "",
              teacherNum: ""
            },
            {
              schoolTypeId: "3",
              focusType: "3",
              schoolNum: "",
              playerNum: "",
              coachNum: "",
              teacherNum: ""
            },
            //单项体校
            {
              schoolTypeId: "4", //学校类型
              focusType: "1", //集中类型
              schoolNum: "",
              playerNum: "",
              coachNum: "",
              teacherNum: ""
            },
            {
              schoolTypeId: "4",
              focusType: "2",
              schoolNum: "",
              playerNum: "",
              coachNum: "",
              teacherNum: ""
            },
            {
              schoolTypeId: "4",
              focusType: "3",
              schoolNum: "",
              playerNum: "",
              coachNum: "",
              teacherNum: ""
            },
            //体育中学
            {
              schoolTypeId: "5", //学校类型
              focusType: "1", //集中类型
              schoolNum: "",
              playerNum: "",
              coachNum: "",
              teacherNum: ""
            },
            {
              schoolTypeId: "5",
              focusType: "2",
              schoolNum: "",
              playerNum: "",
              coachNum: "",
              teacherNum: ""
            },
            {
              schoolTypeId: "5",
              focusType: "3",
              schoolNum: "",
              playerNum: "",
              coachNum: "",
              teacherNum: ""
            }
          ],

          teenagerThreeFocusSchoolNum: "",
          teenagerNoThreeFocusSchoolNum: "",
          teenagerThreeFocusPlayerNum: "",
          teenagerNoThreeFocusPlayerNum: "",
          teenagerThreeFocusCoachNum: "",
          teenagerNoThreeFocusCoachNum: "",
          teenagerThreeFocusTeacherNum: "",
          teenagerNoThreeFocusTeacherNum: "",
          centreThreeFocusSchoolNum: "",
          centreNoThreeFocusSchoolNum: "",
          centreThreeFocusPlayerNum: "",
          centreNoThreeFocusPlayerNum: "",
          centreThreeFocusCoachNum: "",
          centreNoThreeFocusCoachNum: "",
          centreThreeFocusTeacherNum: "",
          centreNoThreeFocusTeacherNum: "",
          societySchoolNum: "",
          societyClubNum: "",
          societyPlayerNum: "",
          societyClubPlayerNum: "",
          sportDeptSchoolNum: "",
          sportDeptPlayerNum: "",
          teachDeptSchoolNum: "",
          teachDeptPlayerNum: "",
          sportAndTeachDeptSchoolNum: "",
          sportAndTeachDeptPlayerNum: "",
          allSchoolNum: "",
          openSchoolNum: "",
          putMoney: "",
          putScope: "", //t投放范围1,2
          insuranceType: "", //险种名称1,2,3
          cityLevelNationNum: "",
          cityLevelProvinceNum: "",
          schoolLevelNationNum: "",
          schoolLevelProvinceNum: "",
          moneyPutNation: "",
          moneyPutProvince: "",
          moneyPutOther: "",
          matchNationNum: "",
          matchProvinceNum: "",
          matchCityNum: "",
          matchSchoolNum: "",
          totalJoinPeopleNum: "",
          financialPutMoney: "",
          sportsLotteryPutMoney: "",
          sportsLotteryRatio: "",
          outSparetimeMoney: "",
          outTeenagerMoney: "",
          outCompetitionMoney: "",
          outSchoolVenueMoney: "",
          outOtherMoney: "",
          activityNationNum: "",
          activityNationPeopleNum: "",
          activityNationAndNum: "",
          activityNationAndPeopleNum: "",
          activityProvinceNum: "",
          activityProvincePeopleNum: "",
          activityProvinceAndNum: "",
          activityProvinceAndPeopleNum: "",
          activityCityNum: "",
          activityCityPeopleNum: "",
          activityCityAndNum: "",
          activityCityAndPeopleNum: ""
        });
    }
  }
};
</script>

<style>
table {
  border-collapse: collapse;
  /* //合并为一个单一的边框 */
  border-color: #a2a7ab;
  /* //边框颜色按实际自定义即可 */
  margin-bottom: 10px;
}

thead tr th {
  background-color: #f8f8f9;
  /* //设置表格标题背景色 */
  padding: 3px;
  text-align: center;
}

tbody tr td {
  padding: 3px;
  text-align: center;
  height: 34px;

  /* //设置单元格最小高度 */
}

tbody tr td input {
  width: 99%;
  height: 95%;
  text-align: center;
  border: none;
}

input {
  border-bottom: 1px solid #000;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  outline: none;
  background: transparent;
  outline: medium;
}

*:focus {
  outline: none;
  background-color: transparent;
}

::selection {
  background: transparent;
}

::-moz-selection {
  background: transparent;
}
</style>
